MP2GL: prototyping 3D objects with metapost and OpenGL

نویسنده

  • Denis Roegel
چکیده

metapost was created with 2D graphics in mind, and in spite of various extensions added during the last few years, it doesn’t seem well adapted for 3D technical graphics. However, there are cases where simple but realistic 3D graphics are needed, for instance for inclusion in an article, and there are also cases where 3D objects are mere 2D objects with added depth. In such cases, an approach combining metapost with an OpenGL environment proves very useful and allows for interesting applications, in particular the prototyping of 3D objects for use independently from metapost. Such an approach is also a smooth way to get introduced to OpenGL. MP2GL is our first attempt towards this direction.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Asymptote: Interactive T E X-aware 3d Vector Graphics

Asymptote is a powerful descriptive vector graphics language for technical drawing recently developed at the University of Alberta. It attempts to do for figures what (L)TEX does for equations. In contrast to METAPOST, Asymptote features robust floatingpoint numerics, high-order functions, and a C++/ Java-like syntax. It uses the simplex linear programming method to resolve overall size constra...

متن کامل

Slicing Algorithm of VRML Model in Rapid Prototyping

VRML (Virtual Reality Modeling Language) as an international standard for Virtual Reality, has already been widely adopted for graphical representation of 3D objects over the Web. Adopting VRML model in RP (Rapid Prototyping) can reduce the precision loss which is caused by triangulation in generating STL file. Hence exploring a slicing method and software for VRML model is significant to impro...

متن کامل

Asymptote: Lifting TEX to three dimensions

Asymptote, a modern successor to the METAPOST vector graphics language that features robust floatingpoint numerics, high-order functions, and deferred drawing, has recently been enhanced to generate fully interactive three-dimensional output. This data can either be viewed with Asymptote’s native OpenGL-based renderer or internally converted to Adobe’s highly compressed PRC format for embedding...

متن کامل

Graphics and TEX—a reappraisal of METAFONT/MetaPost

It is all about the author’s first steps in METAFONT, for creating graphics to be included in TEX documents, with a wink to MetaPost. The graphics comprises 2D pictures and 2.5D images of 3D objects via projection techniques. Learning METAFONT was much easier than learning TEX. Included examples are: cat, Hilbert curve, and Gabo’s linear construction in space no 2. A few highlights on macro wri...

متن کامل

metaobj: Very High-Level Objects in metapost

This paper presents the metaobj system and its features for the implementation of very high-level objects within metapost.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005